﻿/*************************   Auto Generated Model Code For Patient table     Generated @ 4/23/2013 7:27:04 PM *************************/

using System;
using System.Collections.Generic;
using System.Globalization;

namespace BusinessObjects
{
    public partial class Patient
    {

        public string PatientFullName { 
                                        get { return String.Format("{0}, {1}", ToUppercase(this.LName), ToUppercase(this.FName)); } 
                                      }
    
    
        public string ToUppercase(string lower)
        {
            var t = new CultureInfo("en-US", false).TextInfo;
            return t.ToTitleCase(lower);
        }

    }
}
